/* ========================nav============================ */

.nav-container {
    width: 100%;
    height: 30px;
    line-height: 30px;
    background-color: #e3e4e5;
    font-size: 12px;
    color: #999;
}

.nav-icon {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-image: url(../images/arrow-down.png);
    background-position: center;
    vertical-align: 2px;
}

.nav-postion {
    float: left;
}

.nav-postion img {
    width: 14px;
    vertical-align: -2px;
}

.nav-container ul {
    float: right;
    margin-right: -12px;
}

.nav-container ul li {
    display: inline-block;
    margin-right: 12px;
    /* padding: 0 12px; */
    /* border-right: solid 1px red; */
}

.nav-container ul li::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 10px;
    border-right: solid 1px #ccc;
    margin-left: 12px;
}

.nav-container ul li:last-child::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 10px;
    border-right: solid 0px red;
}




/* ========================header============================ */
header{
    height: 140px;
    background-color: #fff;
    /* box-shadow: 0 1px 2px #ccc; */
    border-bottom: solid 1px #ddd;
    padding: 0 12px;
}
.header-left {
    width: 190px;
    height: 120px;
    margin-top: 12px;
}

.header-left img {
    width: 100%;
}

.header-right {
    width: 190px;
    height: 120px;
    margin-top: 12px;
}

.header-right img {
    width: 100%;
}

.header-center {
    flex: 1;
    /* background-color: aliceblue; */
    position: relative;
}

.header-search {
    position: absolute;
    height: 36px;
    top: 25px;
    left: 60px;
}

.header-search input {
    width: 488px;
    height: 32px;
    border: solid 2px red;
    box-sizing: border-box;
    padding: 2px 44px 2px 17px;
    outline: none;
}

.header-search-icon__camera {
    position: absolute;
    width: 19px;
    right: 68px;
    top: 6px;
}

.header-search-icon__search {
    width: 16px;
}

.header-search button {
    width: 58px;
    height: 32px;
    border: solid 2px red;
    background-color: #f00;
}

.header-cart {
    position: absolute;
    box-sizing: border-box;
    width: 132px;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    color: #e2231a;
    background-color: #fff;
    border: solid 1px #ccc;
    top: 25px;
    left: 622px;
}
.header-cart img{
    width: 16px;
    vertical-align:-3px;
    margin-right: 12px;
}

.cart-num{
    position: absolute;
    display: inline-block;
    line-height: 6px;
    top: 2px;
    left: 30px;
    padding: 4px;
    background-color: #e2231a;
    border-radius: 10px;
    color: #fff;
}

.search-hot{
    position: absolute;
    top: 62px;
    left: 60px;
    color: #999;
}
.search-hot li{
    float: left;
    margin-right: 12px;
}

.header-nav{
    position: absolute;
    bottom: 0;
}
.header-nav li{
    float: left;
    font-size: 16px;
    margin-right: 12px;
}


/* ========================banner============================ */
.bg-cover{
    background-image: url(../images/bg.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 1900px auto;
    margin-top: 12px;
}
.bg-cover .banner{
    height: 470px;
    /* background-color: beige; */
}

.bg-cover .ms{
    height: 260px;
    margin-top: 36px;
    background-color: aliceblue;
}

/* ========================banner============================ */
.xlhw{
    width: 1270px;
    height: 555px;
    margin: 0 auto;
    margin-top: 36px;
    background-image: url(../images/xlhw.webp);
}

.section-title{
    position: relative;
    height: 45px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    line-height: 45px;
    padding: 0 30px;
    margin: 0 auto 20px;
    overflow: hidden;
    color: #333;
    margin-top: 12px;
}
.section-title::before{
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    background-image: url(../images/sprite.png);
    margin-right: 20px;
}
.section-title::after{
    content: "";
    display: inline-block;
    width: 25px;
    height: 20px;
    background-image: url(../images/sprite.png);
    background-position: 25px;
    margin-left: 20px;
}

.banner{
    display: flex;
    justify-content:space-between;
}
.banner-nav{
    width:190px;
    height:470px;
    background-color:#fff;
}
.banner-nav ul{
    font-size: 14px;
    color: #333;
    line-height:25px;
    padding-top: 10px;
}
.banner-nav ul li {
    padding-left: 16px;
}

.banner-nav ul li:hover{
background-color: #ccc;
}
.banner-swipe{
    width:590px;
    height:470px;
    /* background-color:orange; */
}
.banner-recommend{
    width:190px;
    height:470px;
    /* background-color:blue; */
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}
.banner-recommend img{
    width:190px;
    height:150px;
}


.banner-right{
    width:190px;
    height:470px;
    background-color:#fff;
}

/* 秒杀 */
.ms h1{
    font-size: 30px;
    font-weight: 700px;
    text-align: center;
    margin-top: 31px;
}

.ms .ms-block{
    width: 190px;
    height: 260px;
    background-image: url(../images/ms.png);
    background-size: 100%;
    color: #fff;
}

.ms p{
    margin-top: 90px;
    font-size: 14px;
    text-align: center;
}
.ms p span{
    font-weight: 800;
}
.ms .ms-item{
    flex: 1;
    height: 260px;
}
.ms-clock{
    display: flex;
    justify-content: space-between;
    width: 130px;
    margin: 12px auto;
}
.ms-h,.ms-m,.ms-s{
    width: 30px;
    height: 30px;
    background-color: #2f3430;
    text-align: center;
    line-height: 30px;
    color: #fff;
    /* border-radius: 5px; */
    font-size: 20px;
    font-weight: 800;
    position: relative;
}
.ms-h::after{
    content: ":";
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: absolute;
    left: 37px;
    top: -2px;
}
.ms-m::after{
    content: ":";
    display: inline-block;
    height: 30px;
    line-height: 30px;
    position: absolute;
    left: 37px;
    top: -2px;
}